projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f69de3c
)
demo: Add two buttons to the message dialog
author
William Jon McCann
<william.jon.mccann@gmail.com>
Sun, 12 Jan 2014 02:59:45 +0000
(21:59 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 17 Jan 2014 22:52:07 +0000
(17:52 -0500)
This tests the new. prompt-like layout of message dialogs
better.
https://bugzilla.gnome.org/show_bug.cgi?id=720059
demos/gtk-demo/dialog.c
patch
|
blob
|
history
diff --git
a/demos/gtk-demo/dialog.c
b/demos/gtk-demo/dialog.c
index 17f837e8f8bc5a2c7394918656d5999440e5da11..209fd6da3df1d1f71439977292ec00e2fcbb9a58 100644
(file)
--- a/
demos/gtk-demo/dialog.c
+++ b/
demos/gtk-demo/dialog.c
@@
-20,7
+20,7
@@
message_dialog_clicked (GtkButton *button,
dialog = gtk_message_dialog_new (GTK_WINDOW (window),
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_INFO,
- GTK_BUTTONS_OK,
+ GTK_BUTTONS_OK
_CANCEL
,
"This message box has been popped up the following\n"
"number of times:");
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),